//
//  NovelDataBase.h
//  UI数据库
//
//  Created by dllo on 15/8/14.
//  Copyright (c) 2015年 dllo. All rights reserved.
//

#import <Foundation/Foundation.h>
@class NovelModel;
@class CollectModel;
@interface NovelDataBase : NSObject
+ (void)insertWithModel:(NovelModel *)model;
//+(void)updataWithModel:(NovelModel *)model;
+ (void)deleteWithModel:(NovelModel *)model;
+(NSArray *) selectAll;
//************************
+ (void)insertCollectWithModel:(CollectModel *)model;
+(BOOL) selectCollectWith:(NSString *)lableText;

+ (NSArray *)selectCollectAll;
+ (void)deleteCollectWithModel:(CollectModel *)model;



+(BOOL) selectWith:(NSString *)name;
+(BOOL) selectWithId:(NSString *)myId;

@end
